package com.cosmoplat.xikai.business.service;

import com.cosmoplat.xikai.business.domain.BaseProductInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cosmoplat.xikai.business.domain.NumberOfProductionRecords;
import com.cosmoplat.xikai.business.domain.dto.quality.QualityQueryDTO;
import com.cosmoplat.xikai.business.domain.vo.ProcessingDataVo;
import com.cosmoplat.xikai.business.domain.vo.ProductQuality;

import java.util.ArrayList;
import java.util.List;

/**
* @author 22047582
* @description 针对表【base_product_info】的数据库操作Service
* @createDate 2025-01-07 13:51:30
*/
public interface BaseProductInfoService extends IService<BaseProductInfo> {

    /**
     * 查询过程加工数据
     * @date 10:08 2025/1/13
     * @param queryDTO
     * @return java.util.List<com.cosmoplat.xikai.business.domain.vo.ProcessingDataVo>
     **/
    List<ProcessingDataVo> queryProcessingDataForPage(QualityQueryDTO queryDTO);

    /**
     * 查询合格率
     * @date 10:09 2025/1/13
     * @param queryDTO
     * @return java.util.List<com.cosmoplat.xikai.business.domain.vo.ProductQuality>
     **/
    List<ProductQuality> queryProductQuality(QualityQueryDTO queryDTO);
    List<NumberOfProductionRecords> queryNumberOfProductionRecords();

    ArrayList<String> getProductNameList();

}
